package org.tigris.jasmincc.test.mocking;

import org.tigris.jasmincc.implementation.AbstractProduction;
import org.tigris.mappedlexer.*;
import org.tigris.mappedlexer.io.*;

public class LineProductionMock extends AbstractProduction {

	protected int line;

	public LineProductionMock(int line) {
		this.line = line;
	}

	public void parse() {
		CharInputSequence is = lexer.getCharInputSequence();
		is.jumpToLine(line);
	}

	public void setLexer(MappedLexer lexer) {
		this.lexer = lexer;
	}

}
